Code cleanup and move login to common handler
Simple prime finder
Tabs -> spaces
Tabs -> spaces
Changed name
Added timeouts
Eye candy
Feedback for timeout