Removed redundant server.rb file
remove duplicated server.rb and views dir
Added password validation methods