Cleaned up userconnection.php
Cleaned up userconnection.php

Cleaned userconnection.php. Removed the if(s) in favor a switch
statement. Also added exits to all header redirects.

shamilcm/wireus,shamilcm/wireus,shamilcm/wireus