reverted back the validation from view to JS, also added profile drpdwn